import axios from './axios'
export function getAttachment(){
    return axios({
        url:'/accessory/list'
    })
}

export function postAttachment(params){
    return axios({
        method: "post",
        url:'/accessory/insert',
        params
    })
}
export function deleteAttachment(params){
    return axios({
        method: "delete",
        url:'/accessory/delete',
        params
    })
}
export function putAttachment(params){
    return axios({
        method:'put',
        url:'/accessory/update',
        params
    })
}